<template>
  <div>
    <el-button @click="close">关闭</el-button>
    <el-form v-model="menuData">
    <el-form-item label="菜单图标">
            <yu-select icon v-model:value="menuData.menuIcon" />
          </el-form-item>
        </el-form>
  </div>
</template>

<script setup>
import { reactive, ref,toRefs, onMounted, getCurrentInstance } from 'vue';
const props = defineProps({
  isShop: {
    type: Boolean,
    default: true,
  },
});
const menuData = ref({ });
const emits = defineEmits(['close', 'closed']);

//关闭回调时间
const close = () => {
  emits('close', { a: 'b' });
};
</script>
<style lang="scss" scoped></style>
